ensure you return the last activated deployment
Merge pull request #3836 from danmcp/master

Merged by openshift-bot