Fix a NPE when tab completing with /ptp

Fixes #2013