Fixed a bug if exclusions are not defined in grunt