Fix for SCM detection
java input stream adapters working