Only load licenses if running on GCE.

We attempt to detect if we are running on GCE two ways:

1. By looking at the BIOS provider.
2. Checking if the metadata server is reachable.

Only load licenses if we can confirm we are running on GCE.