Ticket #2288: regression of path autocompletion.