make sure trac-admin opens the Environment before trying to get a db connection (fixes #1700)
Authored by: mgood 2005-06-23
Parent: [r1841]
Child: [r1843]