buildman: Extract environment as part of each build