fix make-phar after removing /templates