[deployment_handler] Add get_arch function