Improved check
Improved check

Ensures only a maven install is performed is there is a PR, not pushing to docker and causing failures in Travis. If it's a branch commit, it'll push to docker.
AjitPS/KnetMiner,AjitPS/KnetMiner,Rothamsted/knetminer,Rothamsted/knetminer,AjitPS/KnetMiner,Rothamsted/knetminer,AjitPS/KnetMiner,Rothamsted/knetminer