Same as https://github.com/RiotGames/berkshelf/pull/693/files#r5144160