SLING-5452 - also check for console readiness before uninstalling bundle, contributed by Thierry Ygé, thanks!