With python 3.6 spwd.getspnam returns PermissionError instead of KeyError if user does not have privileges