Support execution of --grub when installing to target directory