Removing unneeded directories from repository