Fix static_store with relative paths