Fixing bad URL formation when getting all commits

The method was using the SourceCodeURL attribute from the Project to build the URL, but sometimes this attribute may be not present, giving a NullPointerException.