[BUGFIX] Test thorws error if no tmpl exists
Glob() gets all flux-preview with a cast array and if non found the foreach runs a empty loop with unlink('') and gets an open_basedir restriction error.