Quick Workaround to prevent InactiveScopeException

Trying to use Gregwar\ImageBundle\Services\ImageHandling service from a Symfony2 Console Command. I was getting the following error.

[Symfony\Component\DependencyInjection\Exception\InactiveScopeException]                    
  You cannot create a service ("templating.helper.assets") of an inactive scope ("request").