[DF-4117] - remove old platform's directory in case platform was renamed.