[meta] fix `prelint` so it does not fail outside of a git repo
[meta] fix `prelint` so it does not fail outside of a git repo

per https://github.com/nodejs/node/pull/41557#issuecomment-1014664887

ljharb/tape,ljharb/tape,substack/tape,substack/tape,ljharb/tape,substack/tape