build.py: use implicit get_fragment