Update dev_setup/bin/vcap_stop_for_export.sh

update code to remove useless packages

Tested on last release VM and Mark had a look on it.