Put a project.hasProperty guard around tasks which require ghpages to be set