updated repository factory

same change as https://github.com/jackalope/jackalope-jackrabbit/pull/43