Fixing the dep-check path problem