The "bundle install" that's run as a fallback condition (after the ||) should also have a --retry 3 on it.