Moved ``DoCleanJob`` inside the class and checking project is not null