Exit the loop if no projects are monitored anymore to avoid an exception.
Authored by: steveking 2015-05-11
Parent: [r1050]
Child: [r1052]