console: fixed NPE on export database command when options are not specifed

if options are not specified the 'export database' command throws a NullPointerException