Check for a valid extension when loading commands