follow up to 833c67eaac9dcf4e8e4e9fdf7d7101aed2295be3 don't check
non-existing location if the $value is an array