swift-deploy: Check arguments

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>