Fixed potential issue with 'rebash uninstall'.