user/jszakmeister: make the guard snippet use the filename

Previously, it used the path minus the extension, which is wrong.