[backend] return an empty rev in getrev_meta when there was no commit yet, just like in getrev
[backend] support download of build code with Build/ and emulator/ subdirectories
[backend] encode directories as dirs in cpio archives