Use cached_path for built-in gems if the gem exists locally