Fix circular import (backend in script).
We don't need to check if the source is_mine here, but just use the parameter provided_keys