More fixing of broken builds. Turns out the packages directory is obviously empty (and probably non-existent) if a deploy build is run separately.