Inform the user when the identifier provided could not be found
When what was provided could not be found in the list of branches
or in the repository (ie: it's neither a commit/tree nor a tag),
then go back to the default and inform the user that the input was
invalid.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>