[4.3] Fixes `php artisan key:generate` failed due to used of hardcoded app path config.

Signed-off-by: crynobone <crynobone@gmail.com>