Fix incorrect variable name in get custom values utility function