Fix regression making the status view inaccessible for new repositories

Commit a11bf779be32ba139e9c0839c50d12475581058c (Load HEAD ID and
symbolic name as part of the repo info) introduced the regression by
passing "HEAD" to git-rev-parse. In new repositories, HEAD does not
resolve to anything and thus caused an error message and no additional
output.

Work-around this issue by moving all reference arguments to the end of
the command.