only validate name_path if requires is "none"

fixes: http://manage.dimagi.com/default.asp?61489