get_sha1_with_context: always initialize oc->symlink_path