modules/corex: only free path_vector from pkg if it is still in pkg... not shm cloned
	- related to earlier commit 4ab0f53ff247f411dde7b88d5b7d82fc7e17baa9