Bugfix merge request pipeline triggered.
The tool confused the latest pipeline in an existing merge request and triggered the previous one when the newer one was coming. With these changes, the tool will verify the merge request is pointing to the latest pushed commit.