Deploy fail when invoke 'wp core is-installed' command

This could be the same issue as this one:

This could also help with finding the underlying error:
https://discourse.roots.io/t/wordpress-6-0-update-deploy-failed/23225/43?u=strarsis