This workaround an issue \ bug with the results returned by DependencyContext where the path uses a mix of forward and back slashes which causes comparison with Assembly.Location that only uses forward slashes to fail.