Check if a component name was entered, before running into an error, when none is provided