[Compass-ci] [PATCH v3 compass-ci 3/3] lib/job.cr: refactor the matching string action of os_mount