Improve `check_modified_files` behaviour
Do a local rebase before checking what changed to avoid failed pipelines for commits that are behind master.
Do a local rebase before checking what changed to avoid failed pipelines for commits that are behind master.