Don't lookup paths in database if no paths.