make it possible to reference a branch of a local git repository

Reasoning on why this change is wanted can be found
on the "sbt-dev" mailing list,
topic "problem with referencing a local git repository"
Should I change?