Follow up to fix bug where a module can't be stopped or reinstalled - TRUNK-3922