setup: add abspath_part_inside_repo() function