cwm: Remove hardcoded paths

Change-Id: I1874f0bbbaa81e0eea507e9d9444307191eeb753