SLING-3647 : added a check to see if the repository provider is ready - with the idea of being able to provide a more useful exception message to the user

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1601931 13f79535-47bb-0310-9956-ffa450edef68