Fix path selector for multiple jails

Ticket:	#2433
Merge:	releng/9.1.0