fix test for None in get_obj_perms tempatetag