Revert "[python] only add modules listed as dependecy to path"

This reverts commit 8772221e24b8f2651dd6fdc19bea53555e5b1d9b.