Fix traceback for change permission screen

This occurred in datasets that do not contain .samba4 within them.

Ticket:	#4214