HHH-8276 - Fix NullPointerException when hibernate.max_fetch_depth is not configured