make sure deploying? method is available beofre testing it, fix #915
Merge pull request #930 from mpapis/bugfix/gh_issue_915

Make sure deploying? method is available beofre testing it, fix #915