Fix NullPointerException with older configs when updating plugin