'Returns a title for a particular kernel.
:param path: path of the kernel image configured in the boot config
:return: if the given kernel path is found it will return a string
with the title for the found entry, otherwise returns None'

def get_title_for_kernel(self, path):

    entries = self.get_entries()
    for entry in entries.itervalues():
        if (entry.get('kernel') == path):
            return entry['title']
    return None
