make sure MODULEPATH is still set correctly after purging