This looks like an issue. Shouldn't `elements[DEPLOYMENTS]` be set to `Paths.DEPLOYMENTS` here?