Avoid attempting to load empty resources