Fix typo in credential check in the exec path