Adds begin rescue to be sure to have a path, or nil