firstboot command fix for when shell=False