Prevent false folder commits