Fix error when current project has no project references