Prevent resources folder pollution

Change-Id: I280d1dd63290dc176caf111706b8708cc0d0944d