fixed a null pointer error in getPoolsForSubscriptionId(...) that can
occur when the pool has "type":"STACK_DERIVED"