Actually I tested it with geoserver unavailable and the behavior is the same of the master branch. The layer is deleted just in geonode. Is this the correct behavior?