Fix archive without phar extension - #1127