Fixed bug with exclude paths