fixed bug that caused an NPE when an artist directory was empty