[PATCH v2 41/60] buildman: Export _get_output_dir() to avoid warnings