make Repository.initExt normalize options
add test for initExt