refs #4121 fix create plugin does not work in case the pluginname was entered wrong at least once