Added prefix option to search

Hi,

the search functionality missed the "prefix" option. So if the app was not installed at root level, search was broken.

This commit is going to fix this.

Cheers
Dennis