MDLSITE-2712 fix problem calculating branch ages against integration

- --boundary was returning non-target commits.
- small cleanup of current directory.
- simplified to always look for ancestor from HEAD (already checked-out)
- for integration.git checks, perform them since ancestor, not tip.