Fix for appinfo creation and bootplate root directory detection