Avoid scenario when trying to package database jar without loading config could result in error