Ensuring exceptions CouldNotTarConfigurationDirectoryException and CouldNotBuildRpmException will be thrown.