Load env in a function
Load env in a function

Changes:
    - New func to load the env vars

Change-Id: I34ab423e97bce9c7d501b6ca10b540bee5dd4a98
Signed-off-by: George Keishing <bef0a9ecac45fb57611777c8270153994e13fd2e@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation