Remove trailing dot from the fqdn if there is one.
Merge pull request #3409 from rmillner/trailing_dot

Merged by openshift-bot