Code implementing hook_page_attachments names parameter incorrectly