global: removal of nonsense debug output
global: removal of nonsense debug output

* Checks that a config value is found in order not to output
  nonsense message.

* Reorganizes imports.

Signed-off-by: Jan Aage Lavik <8d55e006a1b29770f275a5c59a7341f17f8e69d5@cern.ch>

tiborsimko/invenio-base,inveniosoftware/invenio-base,inveniosoftware/invenio-base,tiborsimko/invenio-base