fix copy-pasta in Provides error path

Change-Id: Iab9273088315fc45a4d2b6253daf19de4bfecc43