Fix lookup for headport= and tailport=

Without this small fix headport= and tailport= would not be completed.
Also, write a better help text for those options.