Support >1 path in Gitlab::Git::Repository#log
Backport of changes to Gitlab::Git::Repository#log
from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1522.
Backport of changes to Gitlab::Git::Repository#log
from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1522.