Fix directory create feature for jail mountpoints

Ticket:	#5349