Improve error message if @RunLocally is committed (#14216)

Change-Id: Ic35b71a01b207ff87072d2e46f34f171ec581fe0