Fixed spacing in actions/cache/filebackend/filerepo/job folder

Added spaces before if, foreach
Added some braces for one line statements

Change-Id: Idb93d34e314e5f314223b79208968d6bcd30c40e