Fixing a bug in the case of a form doesn't have a yml definition file.