Fix getting the value of `include` too soon.
Fix `UnboundLocalError` when failed to authenticated using SSH.