Validate dbpath for AFP

Ticket:	#5011