Fix notice that occurs from external function call

Resolves https://github.com/woothemes/woocommerce/issues/5506.

This checks to see if the `integrations` array has any values before getting it's current value.