Remove duplicate code in `gitium.php`