fix a NPE that is thrown for dependencies that don't have a version specified