Update default.rb

Checking for directory existence, otherwise we are creating duplicated resources when the LWRP is called twice.