Fixes #5915: Error message when trying to delete a system directive is h...