Avoid sending prolog and epilog actions to already deleted (or non existent) hosts