This error indicates that your iPXE script has attempted to goto
a non-existent label.
Things to try:
:my_label
goto host_${hostname}
then you should consider using a fallback label in case the dynamically-generated label does not exist. For example:
goto host_${hostname} || goto unknown