Fixed error in listdir for last commit