Bugfix for testing correct Python package directory