Fix to detect full paths for archive and symlinks