Ensure req has a path.

This was causing 0.8 builds to fail on Travis.