Bug fixes. Support for Jenkins builds caused by Github