Fix to let agent running without bernard.yaml