fix: realpath should not be used before we figured out where the "." marker is.