fix(partialloader): fix possible circular dependency

This is a bugfix for b685601 (affecting 0.4.x).

Fixes #766