cg_get_machine_path is modified to include the escaped machine name + ".nspawn" if the machine argument is nonnull.