separate conditions from preproc registration and avoid LocalJumpError when breaking in railtie initializer block