Dont fail on Ruby 1.8.7

`:name` paramater is deleted from resource creating because on Ruby 1.8.7 for some reason `:name` takes precedence over `:path`.
seeing as we're removing 2.7 support, this shouldn't be necessary.