Adjusted version detection in debian changelog script.