fix specifying custom package databases on the command line