Use payload to determine repository
Update config.php.dist file