Building Docker Images in a Jenkins Pipeline with a DIND Jenkins Agent Error thrownCall to a member function id() on array