Ignore context check if getpgid() fails.

The fuse context pid isn't useful inside a container, so getpgid fails.
We should just ignore the context check in this case.

Fixes #184.
Added t2180 - fix for tup.getrelativedir(nil)

This shouldn't crash when given a nil path.

Fixes #192.