Fix git ignore lib for python and mongo subdirectory.