Better error message granularity in boot.py