This allows better integration of 'bastille pkg' in scripts, and permits to catch errors during 'bastille template' commands