[jan] Fix dependency on Nag (Bug #13166).