Fix repo init ext

Adds a test for using Repository.initExt, and makes the method normalize the repo_init_options that you pass it.