Bug 2058: Fix reading config variables in Karaf

Change-Id: I0ab027e0278dd75e588c8aa2d22cef185de2f5fb
Signed-off-by: Lorand Jakab <lojakab@cisco.com>