build string from lines for dumb_db and check for failure on mvc detect

Clean up db_dump mechanism, was failing no matter the options passed.
Fail gracefully when no target is given on mvc detection method.