Fix wait_for_emulator permission

Signed-off-by: Taeho Kim <jyte82@gmail.com>