Before, this was conditional to the directory's existence. Add it
anyway, in case the folder is created while the buffer is open.
This may cause a problem is the project root changes while the buffer is
open, but for that case there's M-x doom/reload-project.