Fixed issue in #585548. It was related to the admin module that adds the apperance path (admin/themes).