Bug 454050: Fix a problem when functions are exported in ENV in remote profile.

Change-Id: If001e09926019111c8a0672b0c26ba91e74fc4f5
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/37891
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>