Corrected db_path

Pathnames start with slash, so split('/') is always the empty string.