'Update paths with the themed assets,
Args:
prefix: theme prefix for which to update asset paths e.g. \'red-theme\', \'edx.org\' etc.
packages: packages to update
Returns: list of updated paths and a boolean indicating whether any path was path or not'

@staticmethod
def get_themed_packages(prefix, packages):

    themed_packages = {}
    for name in packages:
        source_files = []
        for path in packages[name].get('source_filenames', []):
            if find(os.path.join(prefix, path)):
                source_files.append(os.path.join(prefix, path))
            else:
                source_files.append(path)
        themed_packages[name] = {'output_filename': os.path.join(prefix, packages[name].get('output_filename', '')), 'source_filenames': source_files}
    return themed_packages
