Resolve relative path to db folder