Fixes issue with rake task for imports