Fixes command line exercise for removing directories.