sha1_file: fast-path null sha1 as a missing object