Another approach would be to generate images based on the flow described here,
This essentially means that you would have a golden image without Mender installed, run it trough mender-convert, and the output is an image with Mender installed etc. This method is also required if you would like to perform system updates.