Move target to local; check for empty permissions

Address @cpapazian comments