Set the commit reference when opening the blame view from the blob view

This is what tree_request does. Else the blame view is opened against an
unrelated version of %(ref) or HEAD.