Improve libnotify cover loading code