Fix tab complete not adding a space.

Thanks Amanieu.