Only check for release if DISTRIBUTION not Fedora

Change-Id: I2303e5a36d07232045c6865fb73984d8091be455