Foreman 1.20.2 / VMware - Sporadic HTTP 500 when querying /api/compute_resources API

After implementing the workaround to app/models/concerns/fog_extensions.rb:54, and disabling compute resource caching, it seems the issue is resolved, but both were required.