Thank you very much, for your help.
Adding the package as requirement and removing everything from "Other units" paths helped.
Just for anyone facing the same problem, the requirements can be set in Project -> Project Inspector... -> Add -> New requirement.