[minor] Removed unnecessary if/else
Merge pull request #39 from juzerali/deploy-ifelsefix

[minor] Removed unnecessary if/else