Fix dist-upgrade to use -n