Refactoring PHAR archive creation and init-instance targets