Get current revision from HEAD pointer, not from parsing refs/head/$BRANCH