Make disabledDirectory and apiVersion required for extension installation

For #3159, addressing comments that disabledVersion and apiVersion should be required for the extension installation function.