Take into account the change in the way the repository JCR is accessed