Allow "check-ref-format --branch" from subdirectory