Prepend # to ambiguous branch name, fixes bower/bower#1308