giza: improve support for edition build directories