Fix viewing file if the identifier provider is a commit hash
And if this commit hash does not correspond to the identifier of a blob
we are no longer able to file asked for, so just return a 404 error in
this case.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>