[COOK-3545] Fix support for multiple distribution releases

Signed-off-by: Seth Vargo <sethvargo@gmail.com>