Check if direnv is installed before calling.