Fix undefined index warning that may prevent upgrades
As reported on StackExchange:
Notice: Undefined index query in .../wp-content/plugins/civicrm/civicrm.php on line 483
I haven't seen this happen in any of the upgrades I've done, but it can't hurt to check the array key exists before accessing it. PR to follow.