SOS-985 When using SVN, only delete the lib folder when it is empty
SOS-985 SF