fix a bug in completions when bash tries to complete a path