Better detect current user's HOME directory.
Fix phar stub & packaging.