Fix naive boto version checking code