Fix EnvironmentError exception on torrent providers