LEROY-383 - Configurations job is not running on the proper host

* Run the job only if current node is Leroy Node, fail otherwise
+ Refactored the code a bit (more thorough refactoring/cleenup will be done in a
separate commit)