scripts: Fix first run without buildid argument

Move call to generate buildid after the build root directory has been
created.

Bug: 117282103
Change-Id: Ief985d9c54276c5efb2612c906591de1bf7eee98
1 file changed