Fix incorrect format key in basedir.py