Don't segfault on nonexisting job id in get_state
Remove ununsed manifest