ci: Use target branch from target project for code-style check
Merge requests from forked projects run pipelines in their context, not the target projects one. Thus we have to fetch the target branch from the target repository.
Edited by Robert Mader