Fix deprecation warnings in RuboCop excludes