Fix handling of path components in host permissions (Fixes #113)