Fix loading from ini file.

Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>