build: make sure that $(STAGING_DIR_IMAGE) exists