Allow local repo caches to be used. Fix jQuery migrate detection