rev-parse lstat() workaround cleanup.