Reconciling $\pi$ phase shift in Josephson junction experiments with even-parity superconductivity in Sr$_2$RuO$_4$