Remove unnecessary release is None clause