Checking provisioningpath if exists
fixed calling on agent