Fix pkg_env
Follow symlinks in fstatat otherwise it breaks repos created by poudriere