Fixed null pointer exception on OpenHab startup.