Allow extra option to specify METADATA_DIR and either use provided one or try to locate it under src area