Fix NPE when <beans> declaration is not included in infinitum.cfg.xml.

Resolves #17.