Fixing bug when .projects directory doesn't exist