Do not try running post deployment actions if no scripts exist.
Fixes #683.