Use has stage instead on isset

$this->deployer->stages is a private property.
Use $this->deployer->hasStage instead
Merge pull request #56 from gurudigital/master

Refactoring static field to non-static.