Fix NPE on hot reload of the configuration file.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Fix #268

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>