rpm-pkg: Fix when current directory is a symlink