Fix condition for global git ignore