core: config: fix [environment:default] handling

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=990518
Change-Id: Iab14facc70580c246b34448e42aa62fbd8e1273d
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>