Fix raising exception
Support local directory
oo-gear-profile