Fix for glidein submission errors when no privsep is used
Bug fix. Check for correct filename before trying to remove