Fixed the bug in packagemanager.py which caused double entries in diffFile.json