Added a check for Oozie configs

* A check for Oozie configs was added;
* Hard code in file base.py was replaced.

Change-Id: Ib261b4424812fa85049ae94ab601e2208a4c50d2
Merge "Added a check for Oozie configs"