Respect user-defined dependencies with scope!=runtime (e.g. scope=system), fixes #84.