Only chomp if we have an extension.