Fix exception when tab completing argumentless commands