Fix problem when GitBucket is working on non root context.