Fix resource path fatal error

Bug: 46927
Change-Id: I8073c844682b1d8816704e1dc0e39bc197e08833