Fix mkdir-handling in setup_state (in puavo-install).