core: misc: respect OTOPI_CONFIG environment variable

Change-Id: Icb13ec3c363218e5c65abb66463779828a84fb5d
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>