Fixing few issues where git was failing due to the lack of log in.