Alter execute_alembic_command() to not assume all commands

Add upstream change to fix staging/junoplus
https://review.openstack.org/138933

Change-Id: Ib4fb41f46c3581b1b426c8f8727391d4c368e4ab