Fixes #5440: [motdConfiguration] REGEX constraint outside of CONSTRAINT block

http://www.rudder-project.org/redmine/issues/5440