fix for self referencing packages