DeploymentUtils: remove redundant lines