Extracts self explainatory method to avoid confusion
Uses factory methods to simplify logic and fixes the issue if there are no dependencies
Removes unused method
Merge pull request #9 from novoda/fixes_projects_without_dependencies

Fixes projects without dependencies