handle :swap when the config file is a symlink