Use git topic branches as docker tag/image name if not master

Allows for topic-based docker images to be created automatically from jenkins.