Don't try to clean up sfn if it isn't set.

This fixes `manage_file()` being used with the `content` keyword
Merge pull request #15248 from saltstack/bp-14887

Backport #14887 to 2014.7