puppet_compiler: use ensure_packages to avoid conflicts.

Change-Id: I36baf6b3a17c389e2bf1750ef2c77b1d223394e2
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>