I've certainly tested with non-fileset images (see discussion) and this works fine (silently returning an empty string in the template).
Whether it's "nicer" for the template to explicitly check for fileset existence instead - not sure.