Hotfix for no projects nullpointer and incorrect flag analyse process.