cli: fix wrong result of cachedir_fit() with empty releasever