Setting maintainer for Docker images can be optional.

The maintainer line is optional in the Dockerfile. While the initial commit
assumed that it was required, it appears that this is not the case. We
can therefore skip adding the line if the maintainer is not set.
`maintainer.isEmpty` is a better choice here