added error message for missing input head entry

Signed-off-by: TheTesla <stefan.helmert@gmx.net>