Fixes bug when submiting container form

This bug happens when you submit container form on admin without
filling the slug or channel field.