Fix NullPointerException in getting hrider version