Correctly computing the release dir depending on relx's version

relx introduced a breaking change in v1: the output doesn't have the same structure
see https://github.com/erlware/relx/releases/tag/v1.0.0
Merge pull request #19 from opscode/jr/relx_breaking_change

Correctly computing the release dir depending on relx's version