Fixing git NullPointerException with proxy port