Fixes #124: Requires path separator in basepath

By making sure the common path ends with a path separator, we know we end up with an actual valid base path.