Catch not found when trying to delete a non-existing subapp

This happens on two cases:
* upgrade on non-registered servers
* launching restart of the module without being registered.