fix NPE when launching a downstream build from a promotion action
Merge pull request #4 from rpetti/master

fix NPE when launching downstream build using promotion action