Check if icon is in subdirectory

See eed1b1933e83747e6fb5666b4ee4a68d6fd51b6a