Raise an exception if a project's dependency is not found

This creates a much nicer error message than the "can't convert nil into 
String" message that was being returned!