fix copying during install_step (skip .rootdir symlink), fix sanity check