SLING-6422 - specify Oak restrictions with repoinit. Contributed by Nitin Nizhawan (thanks) with a small addition by myself