build: Fix automatic image pulling from S3

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>