Update createCommand.py: add protection against bad credentials

Signed-off-by: Michael LeCompte <michaelslec98@gmail.com>