Currently, such package is unconditionally linked to its folder, and as such package doesn't list peer in its dependency, then peer is not seen for it.
A possible solution for that is to ensure that peers are installed locally in the context of maintained packages