Fix issue with using provider inside php-resque jobs