some distribution do not have `realpath'
Pass a format string as the first arg to printf