autofs4: fix string validation check order