typo in error code

Error code for on-demand instances is different, my bad :(