pre-upload: fix public overlay checks
The new overlay checks were tested against private overlays only.
The file layout in the public overlays are different which broke
some assumptions. Shuffle code around to support both.
TEST=checked existing/bad layout.confs in src/overlays/ and src/private-overlays/
Reviewed-by: Steve Fung <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
1 file changed