Fix for "fatal: Not a valid object name" when displaying a nonexistent blob

When browsing through file history: a click on a commit containing deletion of the file caused the error.