fix npe
Merge branch 'ios-init' of https://github.com/google/paco into ios-init