pkgs: fix cannot download FTP third party packages

Refs #2457