#644 - correct handling of provided dependencies